package com.zelix;

abstract class xq
{

    ar a[];
    private static String z[];

    xq()
    {
    }

    String a(int i, se se)
    {
        boolean flag1 = ec.b;
        StringBuffer stringbuffer = new StringBuffer(1024);
        boolean flag = false;
        ar ar1 = null;
        for(int j = a.length - 1; j >= 0; j--)
        {
            ar ar2;
label0:
            {
                ar2 = a[j];
                if(!flag)
                    break label0;
                if(ar2.g())
                {
                    String s = ar2.b();
                    if(s.startsWith(z[3]) || s.startsWith(z[1]))
                    {
                        stringbuffer.append(z[2] + zo.e);
                        if(!flag1)
                            break label0;
                    }
                    if(ar1.f())
                    {
                        stringbuffer.append(z[4] + zo.e);
                        if(!flag1)
                            break label0;
                    }
                    stringbuffer.append(z[0] + zo.e);
                    if(!flag1)
                        break label0;
                }
                stringbuffer.append(z[2] + zo.e);
            }
            stringbuffer.append(ar2.a(i, se));
            if(ar2.c())
                stringbuffer.append("<" + ar2.a() + ">" + zo.e);
            flag = ar2.d();
            ar1 = ar2;
        }

        return stringbuffer.toString();
    }

    boolean a()
    {
        int i;
        boolean flag;
        flag = ec.b;
        i = 0;
        if(!flag) goto _L2; else goto _L1
_L1:
        if(a[i].e())
            return true;
        i++;
_L2:
        if(i >= a.length)
            return false;
        if(true) goto _L1; else goto _L3
_L3:
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key =0x7b;
                    break;
                case 1:
                    key =13;
                    break;
                case 2:
                    key =79;
                    break;
                case 3:
                    key =36;
                    break;
                case 4:
                    key =118;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[];
        as = new String[5];
        as[0] = z("GO=A\027\020-&JV\026h;L\031\037-,E\032\027-;V\027\030ha\0045\024x#@V\031ho@\003\036-;KV1D\033\004\025\024`?M\032\036\177oM\030\027d!M\030\034- BV\026h;L\031\037#q".toCharArray());
        as[1] = z("\bx!\n".toCharArray());
        as[2] = z("GO=A\027\020-&JV\026h;L\031\037-,E\032\027-;V\027\030ha\032".toCharArray());
        as[3] = z("\021l9EX".toCharArray());
        as[4] = z("GO=A\027\020-&JV\026h;L\031\037-,E\032\027-;V\027\030ho@\003\036-;KV\030a.W\005[d!M\002\022l#M\f\036\177oG\027\027aa\032".toCharArray());
        z = as;
    }
}
